#include <stdio.h>

void arrSize(int data[])
{
	int size = sizeof(data) / sizeof(int);

	printf("sizeof(data) %d\n", (int) sizeof(data));
	printf("sizeof(int*) %d\n", (int) sizeof(int *));
	printf("sizeof(int) %d\n", (int) sizeof(int));
	printf("arrSize %d\n", size);
}

void main()
{
	int data[] = {1, 2, 3, 4, 5, 6, 7};
	int size = sizeof(data) / sizeof(int);

	printf("sizeof(data) %d\n", (int) sizeof(data));
	printf("sizeof(int) %d\n", (int) sizeof(int));
	printf("size %d\n", size);

	arrSize(data);
}
